package com.wfx.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wfx.entity.UserInfo;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author zhu
 * @since 2021-01-20
 */
public interface UserInfoMapper extends BaseMapper<UserInfo> {


    //根据用户查用户角色名称
    UserInfo findRoleByUser(@Param("userInfo") UserInfo userInfo);

    UserInfo findModulesByUser(UserInfo userInfo);


}
